export const tableOption = {
  border: true,
  index: true,
  indexLabel: "序号",
  stripe: true,
  menuAlign: "center",
  align: "center",
  menu: false,
  searchEnter: true,
  searchMenuSpan: 24,
  height: '60vh',
  searchIndex:4,
  searchIcon:true,
  searchMenuPosition:'center',
  column: [
    {
      type: "input",
      label: "工单号",
      prop: "docNo",
      span: 12,
      search: true
    },
    {
      type: "input",
      label: "品号",
      prop: "itemCode",
      span: 12,
      search: true
    },
    {
      type: "input",
      label: "车间",
      prop: "workshopName",
      span: 12,
      search: true
    },
    {
      type: "input",
      label: "产线",
      prop: "productLineName",
      span: 12,
      search: true
    },
    {
      type: "input",
      label: "流程图号",
      prop: "flowChartNo",
      span: 12,
      search: true
    },
    {
      type: "input",
      label: "产品类型",
      prop: "productLineType",
      span: 12
    },
    {
      type: "input",
      label: "工位",
      prop: "workPositionName",
      span: 12,
      search: true
    },
    {
      type: "input",
      label: "工段",
      prop: "workshopSection",
      span: 12,
      search: true
    },
    {
      type: "input",
      label: "工序",
      prop: "processName",
      span: 12,
      search: true
    },
    {
      type: "input",
      label: "报废原因",
      prop: "scrapReason",
      span: 12,
      search: true
    },
    {
      type: "input",
      label: "在制品完成数量",
      prop: "workInProgressQty",
      span: 12,
      width: 130,
    },
    {
      type: "input",
      label: "在制品报废数量",
      prop: "workInProgressScrapQty",
      span: 12,
      width: 130,
    },
    {
      type: "input",
      label: "报工时间",
      prop: "reportTime",
      span: 12,
      format: "yyyy-MM-dd HH:mm:ss",
      valueFormat: "yyyy-MM-dd HH:mm:ss"
    },
    {
      type: "input",
      label: "报工人",
      prop: "reportBy",
      span: 12
    }
  ]
}
